/**
 * 
 */
package com.lunevich.json.wrappers;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * @author Andrei_Lunevich
 * 
 */
public class TwitterWrapper extends JSONWrapper {

	private final String TAG_ID = "id";
	private final String TAG_FROM_USER_NAME = "from_user_name";
	private final String TAG_PROFILE_IMAGE = "imageUrl";
	private final String TAG_USER_NAME = "name";
	private final String TAG_TEXT = "text";

	/**
	 * @param jo
	 */
	public TwitterWrapper(JSONObject jo) {
		super(jo);
	}

	/**
	 * @param jsonString
	 * @throws JSONException
	 */
	public TwitterWrapper(String jsonString) throws JSONException {
		super(jsonString);
	}

	/**
	 * 
	 */
	public TwitterWrapper() {
	}

	public Long getId() {
		return getLong(TAG_ID);
	}
	
	public String getFromUserName() {
		return getString(TAG_FROM_USER_NAME);
	}
	
	public String getProfileImageUrl() {
		return getString(TAG_PROFILE_IMAGE);
	}
	
	public String getUserName() {
		return getString(TAG_USER_NAME);
	}
	
	public String getMessgeText() {
		return getString(TAG_TEXT);
	}
}